Skip to content

fix: steady share video source and a whole first frame - #10

Merged
nodemode-ai merged 5 commits into
mainfrom
fix/share-source-and-first-paint
Nov 30, 2026
Merged

nodemode-ai merged 5 commits into
mainfrom
fix/share-source-and-first-paint

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The share page's video now names the file it plays (video?q=<height>, or q=original before any rendition exists). A plain media/video answers with the best rendition finished so far, so a page opened while renditions were still being made had its source change under it and the next range request failed.
  • The app holds its first paint until the shell is parsed (<link rel="expect" blocking="render">, as the share pages already do). Under CPU load Chrome painted the title bar half-parsed and the View menu moved.
  • The redaction end-to-end test waits for the apply request to answer before reading the comments, which are written after the recording.

Tests

  • New: renditions-share "names the file its video plays" (fails on the old page), shell-first-paint (first paint at 68 ms before the fix, after parsing with it).
  • npm run check clean; share, renditions, shift, redaction and listener suites: 14 files, 102 passed locally. redactmore-e2e 6 of 6, 3 of them with every core busy.

How to ship

Independent of other PRs.

…file

A plain media/video answers with the best rendition finished so far, so a page opened while the renditions
were still being made saw its source change under it once a larger one finished, and the next range request
failed. The page now names the height it plays, or the original.
Under CPU load Chrome painted a half-parsed title bar, with the View menu's button still empty, and the
menu moved once the rest arrived. The shell now uses the same render-blocking marker as the share pages.
The apply writes the recording first and the comments and exports after it, so waiting on the recording
alone could read the comments before they were rewritten.
@gbarnai
gbarnai requested a review from nodemode-ai November 30, 2026 22:06
@nodemode-ai
nodemode-ai merged commit 4c798dc into main Nov 30, 2026
7 checks passed
@nodemode-ai
nodemode-ai deleted the fix/share-source-and-first-paint branch November 30, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants